package com.xjnt.base.support.admin.controller;

import com.xjnt.base.support.admin.entity.Platform;
import com.xjnt.base.support.admin.service.PlatformService;
import com.xjnt.frameworks.annotation.AutoInject;
import com.xjnt.frameworks.annotation.Router;
import com.xjnt.frameworks.core.CRUDController;

@Router(name="/system/admin/platform", view="admin/platform")
public class PlatformController extends CRUDController<Platform, PlatformService>{

	@AutoInject
	private PlatformService platformService;
	
	@Override
	protected String getBizName() {
		return "平台";
	}
	
	@Override
	protected Class<Platform> getClazz() {
		return Platform.class;
	}

	@Override
	protected PlatformService getService() {
		return platformService;
	}
}
